package demo09;

import java.lang.annotation.Target;

public class MyStringTest {
public static void main(String []args){
    String res0 = "Hello java";

    String res1 = "Hello java";
    if (res0.equals(res1)){
        System.out.println("相等");

        String res2=res0.replace(" ","");
        System.out.println(res2);
    }else {

    }
 }
}
